#include "shop.h"
#include <QString>

Shop::Shop()
{
    s_Level=1;
}

Shop::Shop(int time, int floor){
    Needmoney=20+time*5;
    s_Level=(floor/10+1);
    int num1=s_Level*3;
    int num2=s_Level*200;
    information=QString("I'm God of Greed.<br> You can give me %1 coins to get %2 atk/def or%3 hp.")
            .arg(Needmoney,0,10)
            .arg(num1,0,10)
            .arg(num2,0,10);
    
    
}
